<template>
  <div class="admin_container">
    <div class="direction">
      <el-card class="box-card">
        <div slot="header" class="clearfix">
          <span>小号书制作介绍</span>
          <!-- <el-button style="float: right; padding: 3px 0" type="text"
          >操作按钮</el-button
        > -->
        </div>
        <div v-for="(item, index) in user" :key="index" class="text item">
          {{ item }}
        </div>
      </el-card>

      <el-card class="box-card">
        <div v-for="(item, index) in url" :key="index" class="text item">
          {{ item }}
        </div>
      </el-card>
    </div>

    <!-- //卡片化 走马灯 -->
    <div class="cardgo">
      <template>
        <el-carousel :interval="4000" type="card" height="400px">
          <el-carousel-item v-for="item in images" :key="item">
            <img :src="item" alt="">
          </el-carousel-item>
        </el-carousel>
      </template>
    </div>
  </div>
</template>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      user: ["CMS制作人:李瑶 ", "APP制作人:颜新进", "数据库制作人:宋文杰"],
      url: [
        "小好书是模仿小红书app制作的软件",
        "包括CMS管理系统,和用户端APP",
        "主要功能有发布评论，商城等...",
        "CMS网址 : http://140.143.14.84:8080/index ",
        "APP网址 : http://140.143.14.84:8081/login",
      ],
      images:[
          "https://ci.xiaohongshu.com/efa9cb33-887d-aa60-7eaa-af8888c3204a?imageView2/2/w/540/format/jpg",
          "https://ci.xiaohongshu.com/bca0c78e-4560-3c1e-74a4-d65d733a9047?imageView2/2/w/540/format/jpg",
          "https://ci.xiaohongshu.com/657ca29e-7094-8237-7aa7-f44ce7d2d884?imageView2/2/w/540/format/jpg",
          "https://ci.xiaohongshu.com/7438455d-311c-390e-ad11-f12e6d25fa0c?imageView2/2/w/540/format/jpg",
          "https://ci.xiaohongshu.com/afab9420-cfff-d0b8-0481-c03e53da7316?imageView2/2/w/540/format/jpg",
      ]
    };
  },
};
</script>

<style lang="scss" >
.admin_container {

}
.direction {
  display: flex;
  justify-content: space-evenly;
}
.text {
  font-size: 14px;
}

.item {
  margin-bottom: 18px;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both;
}

.box-card {
  width: 480px;
}
.el-carousel__item h3 {
color: #475669;
font-size: 14px;
opacity: 0.75;
line-height: 200px;
margin: 0;
}

.el-carousel__item:nth-child(2n) {
background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n+1) {
background-color: #d3dce6;
}
.cardgo{
    margin-top: 20px;
    img{
        width: 100%;
        // height: 100%;
    }
}
</style>